/* Version: 1.0 */

body{
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: black;
}

.container {
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.logoCont {
    display:flex;
    width: 100vw;
    justify-content: center;
}

#logo {
    position:fixed;
    pointer-events: none;
    top: 1%;
    animation: planetWiggle 5s ease-in-out infinite;
}

#planet1 {
    position: fixed;
    top: 50%;
    left: 70%;
    scale: 1.1;
    animation: planetWiggle 5s ease-in-out infinite;
}
#planet2 {
    position: fixed;
    top: 7%;
    left: 10%;
    scale: .6;
    animation: planetWiggle 5s -1s ease-in-out infinite;
}

.planets {
    transition: .3s ease-in-out;
    z-index: 10;
}
/*#planet1:hover {
    scale: 1.2;
    filter:saturate(150%);
}
#planet2:hover {
    scale: .65;
    filter:saturate(150%);
}*/
#mainNeb {
    background-position-x:center;
    background-image: url("/graphics/Space Nebulae.png");
    background-repeat: repeat-y;
    background-size: cover;
    z-index: 4;
    height: 100%;
    animation: bgSlide 2000s linear infinite;
}
#secNeb {
    background-position-x:center;
    background-image: url("/graphics/Space Nebulae 2.png");
    background-repeat: repeat-y;
    background-size: cover;
    z-index: 3;
    opacity: 0.87;
    height: 100%;
    animation: bgSlide 1200s linear infinite;
}
#mainStars {
    background-position-x:center;
    background-image: url("/graphics/Stars.png");
    background-repeat: repeat-y;
    background-size: cover;
    z-index: 2;
    height: 100%;
    animation: bgSlide 4000s linear infinite;
}

#mainDust {
    background-position-x:center;
    background-image: url("/graphics/Space Dust.png");
    background-repeat: repeat-y;
    background-size: cover;
    z-index: 1;
    height: 100%;
    animation: bgSlide 6000s linear infinite;
}


#galaxy1 {
    position: fixed;
    transform: translate(2500%, 200%);
    scale: 0.27;
    filter: opacity(.5)
}

#galaxy2 {
    position: fixed;
    transform: translate(100%, 1000%);
    scale: 0.47;
    filter: opacity(.5)
}

#asteroid1 {
    position: absolute;
    left: 60%;
    top: 20%;
    scale: 1.2;
    animation: planetWiggle 5s ease-in-out infinite, asteroidHover 12s ease-in-out infinite;
    transition: all .3s ease-in-out;
}

#asteroid2 {
    position: absolute;
    left: 30%;
    top: 10%;
    scale: 1;
    animation: planetWiggle 5s -7s ease-in-out infinite, asteroidHover 12s -1.5s ease-in-out infinite;
    transition: all .3s ease-in-out;
}

#asteroid3 {
    position: absolute;
    left: 25%;
    top: 75%;
    scale: 1.2;
    animation: planetWiggle 5s -0.5s ease-in-out infinite, asteroidHover 12s -4.5s ease-in-out infinite;
    transition: all .3s ease-in-out;
}

#asteroid4 {
    position: absolute;
    left: 75%;
    top: 2%;
    scale: .55;
    animation: planetWiggle 5s -2.5s ease-in-out infinite, asteroidHover 12s -6.5s ease-in-out infinite;
    transition: all .3s ease-in-out;
}

#asteroid5 {
    position: absolute;
    left: 5%;
    top: 55%;
    scale: .8;
    animation: planetWiggle 5s -3.5s ease-in-out infinite, asteroidHover 12s -4s ease-in-out infinite;
    transition: all .3s ease-in-out;
}

#asteroid6 {
    position: absolute;
    left: 50%;
    top: 68%;
    scale: 1.5;
    animation: planetWiggle 5s -1.5s ease-in-out infinite, asteroidHover 12s ease-in-out infinite;
    transition: all .3s ease-in-out;
}
#asteroid7 {
    position: absolute;
    left: 43%;
    top: 43%;
    scale: 1.2;
    animation: planetWiggle 5s -4s ease-in-out infinite, asteroidHover 12s -3s ease-in-out infinite;
    transition: all .3s ease-in-out;
}

#asteroid8 {
    position: absolute;
    left: 80%;
    top: 80%;
    scale: .8;
    animation: planetWiggle 5s -6s ease-in-out infinite, asteroidHover 12s -2s ease-in-out infinite;
    transition: all .3s ease-in-out;
}

#asteroid9 {
    position: absolute;
    left: 25%;
    top: 40%;
    scale: .4;
    animation: planetWiggle 5s -2s ease-in-out infinite, asteroidHover 12s -3s ease-in-out infinite;
    transition: all .3s ease-in-out;
}

#asteroid10 {
    position: absolute;
    left: 10%;
    top: 6%;
    scale: .8;
    animation: planetWiggle 5s -3s ease-in-out infinite, asteroidHover 12s -5s ease-in-out infinite;
    transition: all .3s ease-in-out;
}

#asteroid11 {
    position: absolute;
    left: 65%;
    top: 80%;
    scale: 1;
    animation: planetWiggle 5s -8s ease-in-out infinite, asteroidHover 12s -5s ease-in-out infinite;
    transition: all .3s ease-in-out;
}

#asteroid1:hover {
    scale: 1.3;
}

#asteroid2:hover {
    scale: 1.1;
}

#asteroid3:hover {
    scale: 1.3;
}

#asteroid6:hover {
    scale: 1.6;
}
#asteroid7:hover {
    scale: 1.3;
}

#asteroid11:hover {
    scale: 1.1;
}
@keyframes asteroidHover {
    0% {
        rotate: 0deg;
    }
    25% {
        rotate: 5deg;
    }
    75% {
        rotate: -5deg;
    }
    100% {
        rotate: 0deg;
    }
}

@keyframes planetWiggle {
    0%{
        transform: translateY(3%) translateZ(0);
    }
    50% {
        transform: translateY(-3%) translateZ(0);
    }
    100% {
        transform: translateY(3%) translateZ(0);
    }
}
@keyframes bgSlide {
    0% {
        background-position-y: 0;
    }
    100% {
        background-position-y: 400vh;
    }
}

@media screen and (max-width: 800px) and (orientation: portrait) {
    .desktop {
        display:none;
    }

    #asteroid1 {
        top: 32%;
        left: 65%;
        scale: 1;
    }

    #asteroid2 {
        left: 15%;
        top: 35%;
        scale: 0.8;
    }

    #asteroid3 {
        left: 10%;
        top: 80%;
        scale: 1;
    }

    #asteroid6 {
        top: 65%;
        left: 65%;
        scale: 1.3;
    }

    #asteroid7 {
        top: 55%;
        left: 25%;
        scale: 1;
    }

    #asteroid11 {
        top: 87%;
        scale: 0.8;
    }

    #logo {
        scale: 0.7;
    }

}